CC = arm-linux-gcc

CPPFLAGS += -I ./inc
CPPFLAGS += -I ./inc/libxml2
LDFLAGS  += -L ./lib

LDFLAGS += -lxml2
LDFLAGS += -lz


main:main.c common.c voiceCtl.c bmp.c lcd.c touch.c word.c v4l2.c camera.c
	$(CC) $^ -o $@ $(CPPFLAGS) $(LDFLAGS) -Wall -lpthread

clean:
	rm main -rf
